<div class="receive">
	<div class="voucher">
		<div class="carriers">
			<div class="avatar" style="background:url(<%= imgDomain %><%= logoUrl %>) no-repeat center center;background-size:100%;"></div>
			<div class="operator"><%= mpName %></div>
			<div class="title"><%= title %></div>
			<div class="valid-time">有效期:<%= date('Y.m.d',code.startTime) %>至<%= date('Y.m.d',code.endTime) %></div>
			<div class="collect">
				<% if(canRec==1 && todaySurplusNum>0){ %>
						<button type="button" id="getTicket" data-url="<%= code.receiveRouter %>" data-cardid="<%= cardId %>">领取优惠券</button>
				<% }else{ %>
					<button type="button" class="disabled" id="getTicket">已领取</button>					
				<% } %>	
			</div>
			<div class="link"><span data-href="/index.php?r=coupon/code">我的优惠券 &gt;</span></div>
		</div>
	</div>	
</div>








